package com.business.service;

import java.util.List;
import org.apache.log4j.Logger;

import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.business.mapper.T_contract_billMapper;
import com.business.domain.T_contract_bill;

@Service("t_contract_billService")
@Transactional
public class T_contract_billService{
	private static Logger log = Logger.getLogger(T_contract_billService.class.getName());

	@Resource
    private T_contract_billMapper t_contract_billMapper;


	public int save(T_contract_bill obj){
		 return t_contract_billMapper.save(obj);
	}

	public int update(T_contract_bill obj){
		return t_contract_billMapper.update(obj);
	}

	public int delete(T_contract_bill obj){
		return t_contract_billMapper.delete(obj);
	}

	public T_contract_bill findById(T_contract_bill obj){
		return t_contract_billMapper.findById(obj);
	}

	public List findAll(T_contract_bill obj ){
		 return t_contract_billMapper.findAll(obj);
	}

	public int findCountAll(T_contract_bill obj ){
		 return t_contract_billMapper.findCountAll(obj);
	}
}
